package com.java.pojo;

import sun.awt.SunHints;

/***
 * 销售订单的具体内容
 */
public class Maker2 {
    private Integer m2id;//
    private Integer m1id;//和maker1主键关联
    private String docuemnt2;//编号
    private String goods2;//销售商品

    private Integer num;//商品数量
    private String danwei;//单位
    private Double onemoney;//单价
    private Integer discount;//折扣
    private Double nowmoney;//折扣后的单价的价格
    private Double discountmoney;//实收金额
    private Double countmoney;//总金额
    private Integer rid;//出仓的仓库
    private Integer goodstyle;

    @Override
    public String toString() {
        return "Maker2{" +
                "m2id=" + m2id +
                ", m1id=" + m1id +
                ", docuemnt2='" + docuemnt2 + '\'' +
                ", goods2='" + goods2 + '\'' +
                ", num=" + num +
                ", danwei='" + danwei + '\'' +
                ", onemoney=" + onemoney +
                ", discount=" + discount +
                ", nowmoney=" + nowmoney +
                ", discountmoney=" + discountmoney +
                ", countmoney=" + countmoney +
                ", rid=" + rid +
                ", goodstyle=" + goodstyle +
                '}';
    }

    public Integer getM2id() {
        return m2id;
    }

    public void setM2id(Integer m2id) {
        this.m2id = m2id;
    }

    public Integer getM1id() {
        return m1id;
    }

    public void setM1id(Integer m1id) {
        this.m1id = m1id;
    }

    public String getDocuemnt2() {
        return docuemnt2;
    }

    public void setDocuemnt2(String docuemnt2) {
        this.docuemnt2 = docuemnt2;
    }

    public String getGoods2() {
        return goods2;
    }

    public void setGoods2(String goods2) {
        this.goods2 = goods2;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getDanwei() {
        return danwei;
    }

    public void setDanwei(String danwei) {
        this.danwei = danwei;
    }

    public Double getOnemoney() {
        return onemoney;
    }

    public void setOnemoney(Double onemoney) {
        this.onemoney = onemoney;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Double getNowmoney() {
        return nowmoney;
    }

    public void setNowmoney(Double nowmoney) {
        this.nowmoney = nowmoney;
    }

    public Double getDiscountmoney() {
        return discountmoney;
    }

    public void setDiscountmoney(Double discountmoney) {
        this.discountmoney = discountmoney;
    }

    public Double getCountmoney() {
        return countmoney;
    }

    public void setCountmoney(Double countmoney) {
        this.countmoney = countmoney;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getGoodstyle() {
        return goodstyle;
    }

    public void setGoodstyle(Integer goodstyle) {
        this.goodstyle = goodstyle;
    }
}
